package com.jinsi.service.zhu.iml;
import com.jinsi.mapper.zhu.HomeBrowseMapper;
import com.jinsi.pojo.HomeBrowse;
import com.jinsi.service.zhu.HomeBrowseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 首页轮播图展示
 * @author 朱浩榕
 * @Date 2022-10-13
 */
@Service
@Transactional

public class HomeBrowseServiceImpl implements HomeBrowseService {

    @Autowired
    private HomeBrowseMapper homeBrowseMapper;

    /**
     * 获取柱状图折线图数据
     * @return
     */
    @Override
    public List<HomeBrowse> findAll() {
        return homeBrowseMapper.findAll();
    }
}
